{extend name="layout" /}
{block name="content"}
<div class="mui-content">
	<form id="formid">
	<div>
		<div class="mui-table-view uk-text-small">
			<div class="mui-table-view-cell mui-media no-active-bg">
				<div class="uk-input-blank">
					<textarea class="uk-input" name="content" rows="8" placeholder="评论内容"></textarea>
				</div>
			</div>
		</div>
	</div>
	<input type="hidden" value="1" name="typeid" />
	<input type="hidden" value="{$id}" name="contentid" />
	</form>
	<div class="tm-padded-medium" style="margin-top: 20px;">
		<div>
			<button class="mui-btn mui-btn-warning mui-btn-medium uk-width-1-1 cocoPostFormAjax" type="button" ajaxurl="{:url('v1/evas/add')}" formid="formid" ajax-callback="suc_back">确认提交</button>
		</div>
	</div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
	function suc_back (obj, data) {
		coco_close_window();
	}
</script>
{/block}